Algorithm: hbMEP-adaptive algorithm (version 2)